package com.gucheng.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gucheng.common.ResponseResult;
import com.gucheng.model.entity.User;
import com.gucheng.model.vo.UserInfoVo;

/**
 * 用户表(User)表服务接口
 *
 * @author makejava
 * @since 2024-09-03 08:07:55
 */
public interface UserService extends IService<User> {
    ResponseResult userInfo();

    ResponseResult updateUserInfo(User user);

    ResponseResult register(User user);

    ResponseResult selectUserPage(User user, Integer pageNum, Integer pageSize);

    void updateUser(User user);

    boolean checkUserNameUnique(String userName);

    boolean checkPhoneUnique(User user);

    boolean checkEmailUnique(User user);

    ResponseResult addUser(User user);
}
